package bootsxt.websocket;

import bootsxt.utils.MsgType;
import org.springframework.web.bind.annotation.RestController;
import org.yeauty.annotation.ServerEndpoint;

/**
 * 视频WebSocket端点。
 */
@RestController
@ServerEndpoint(path = "/ws/video", corsOrigins = "*", port = "2222", maxFramePayloadLength = "655359")
public class VideoWebSocket extends WebSocketBase {


    @Override
    protected MsgType getMsgType() {
        return MsgType.IMAGE;
    }


}
